package order;

import common.db.*;
import common.main.*;

public class BasketUpdateBean extends MainBean
{
	public void funcExecute() throws Exception
	{
		String gcode = (String)inputTable.get("gcode");
		String id = (String)inputTable.get("id");
		String client = (String)inputTable.get("client");
		String amount = (String)inputTable.get("amount");
		String dtype = (String)inputTable.get("dtype");

		queryBuffer = new StringBuffer("");
		queryBuffer.append("UPDATE ORDERLIST SET PURCHARSE_VALUE='"+amount+"', DELIVERY_METHOD='"+dtype+"', UPD_ID='" + id + "', UPD_DATE=SYSDATE, UPD_IP='" + client + "' WHERE GOODS_CODE='"+gcode+"' AND USE_YN='Y'");

		DBExecute dbe = new DBExecute(queryBuffer.toString());
		outputList = dbe.getDataList();			
		
	}
}